package com.baorun.test.web.controller.web.openFeign;

import com.baorun.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author: wang
 * @date: 2021/9/1 15:54
 * @description:
 */
@Component
@FeignClient(name = "provider80")
public interface ProviderOpenFeignService {

    @GetMapping("/book")
    public Result queryBooks();

}
